package com.itshidu.jiaowu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itshidu.jiaowu.entity.Classes;
import com.itshidu.jiaowu.util.Result;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-08
 */
@Repository
public interface ClassesService extends IService<Classes> {


    Result TeacherSave(Long teacher, Long student, Long banteacher, Long maior, String classname, int  stage, String start_date, String nd_date);

    Result list(int page, int limit);

    Result selectAllByClassName(int page,int limit,String key1);

    Result ClassAddStudent(Long[] arr, HttpServletRequest request);
}
